cd /d %~dp0
set MYSQL_HOME=C:\Program Files\wamp\bin\mysql\mysql5.6.12
"%MYSQL_HOME%\bin\mysql" -u root -p < database.sql
pause